package team.first.mongodb.doc;

import dev.morphia.annotations.Entity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;



@Getter
@Setter
@Accessors(chain = true) // 可以链式赋值
@Entity(useDiscriminator = false)
public class FilmographyDoc {

    private Integer id;
    private String originalTitle;
    private String chineseTitle;
    private Integer year;
    private String region;
    private Double rating;
    private String posterUrl;
    private String poster;
    private Integer roleTypeId;
}
